<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>玉树临风美少年，揽镜自顾夜不眠 </title>
</head>

<body>
  <script src="./index1.js"></script>
  <script type="text/javascript">
    const proxyUser1 = reactive({
      name: '小明',
      car: {
        color: 'red'
      }
    })
    // 拦截到了读和写的数据
    proxyUser1.name +='=='
    // 拦截到了读取数据,但是拦截不到写的数据
    // proxyUser1.car.color+'=='
    // 拦截到了删除数据
    // delete proxyUser1.name
    // 只拦截到了读,但是拦截不到删除
    // delete proxyUser1.car.color
    // proxyUser1.name +='=='


  </script>
</body>

</html>
